.class public Lcom/nemustech/tiffany/world/TFWorld;
.super Ljava/lang/Object;
.source "TFWorld.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;,
        Lcom/nemustech/tiffany/world/TFWorld$OnSelectListener;,
        Lcom/nemustech/tiffany/world/TFWorld$TFBackground;,
        Lcom/nemustech/tiffany/world/TFWorld$Layer;,
        Lcom/nemustech/tiffany/world/TFWorld$OnViewSizeChangeListener;
    }
.end annotation


# static fields
.field public static final ATTACH_ORDER:I = 0x64

.field public static final AXIS_X:I = 0x0

.field public static final AXIS_Y:I = 0x1

.field public static final AXIS_Z:I = 0x2

.field static final CAP_QUERY_MATRIX:I = 0x1

.field public static final DEPTH_ORDER:I = 0x65

.field public static final EPSILON:F = 1.0E-4f

.field public static final FREEZE_ALL_VELOCITY:I = 0xff

.field public static final FREEZE_MOVING_VELOCITY:I = 0x1

.field public static final FREEZE_ROTATION_VELOCITY:I = 0x2

.field public static final IMAGE_DIRECTION_BOTTOM:I = 0x3

.field public static final IMAGE_DIRECTION_LEFT:I = 0x1

.field public static final IMAGE_DIRECTION_RIGHT:I = 0x2

.field public static final IMAGE_DIRECTION_TOP:I = 0x0

.field public static final MOVE:I = 0x0

.field public static final RENDER_AFFINITY_BALANCE:I = 0x0

.field public static final RENDER_AFFINITY_INTERACTION:I = 0x2

.field public static final RENDER_AFFINITY_PERFORMANCE:I = 0x1

.field public static final REVERSE_ALL:I = 0x3

.field public static final REVERSE_HORIZONTAL:I = 0x1

.field public static final REVERSE_NONE:I = 0x0

.field public static final REVERSE_VERTICAL:I = 0x2

.field public static final ROTATE:I = 0x1

.field public static final ROTATE_DECREASE:I = 0x1

.field public static final ROTATE_FASTWAY:I = 0x2

.field public static final ROTATE_INCREASE:I = 0x0

.field static final TAG:Ljava/lang/String; = "TFWorld"

.field static final TAP_ALLOW_RANGE:F = 25.0f

.field static final TIFFANY_WORLD_VERSION_MAJOR:I = 0x4

.field static final TIFFANY_WORLD_VERSION_MIDDLE:I = 0x0

.field static final TIFFANY_WORLD_VERSION_MINOR:I = 0x9

.field private static mEventQueue:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList",
            "<",
            "Ljava/lang/Runnable;",
            ">;"
        }
    .end annotation
.end field

.field static mGLSurfaceView:Lcom/nemustech/tiffany/world/TFView;

.field static mTextureMagicKey:I


# instance fields
.field mBackground:Lcom/nemustech/tiffany/world/TFWorld$TFBackground;

.field private mBackgroundFadeDuration:J

.field mBackgroundOld:Lcom/nemustech/tiffany/world/TFWorld$TFBackground;

.field mBanQueryingMatrix:Z

.field mBlendingMode:Z

.field mBlendingSort:Z

.field private mCamera:Lcom/nemustech/tiffany/world/TFCamera;

.field private mCapability:I

.field mColorBackgroundA:F

.field mColorBackgroundB:F

.field mColorBackgroundG:F

.field mColorBackgroundR:F

.field mDefaultDelayImageBmp:Landroid/graphics/Bitmap;

.field mDefaultDelayImageDisplayMode:Z

.field mDefaultDelayImageTextureInfo:Lcom/nemustech/tiffany/world/TFTextureInfo;

.field private mDepth:F

.field private mDepthTestMode:Z

.field private mEconomicMode:Z

.field mEffectFinishListener:Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;

.field private mEventHandler:Lcom/nemustech/tiffany/world/TFEventHandler;

.field mFognizer:Ljava/lang/Runnable;

.field private mHandler:Landroid/os/Handler;

.field private mHeight:F

.field private mIsLocked:Z

.field mLoadTextureInAdvance:Z

.field private mLongPressDuration:I

.field mPaused:Z

.field mPostDrawListener:Ljava/lang/Runnable;

.field mReflectingFloor:F

.field mReflection:Z

.field mReflectionOpacity:F

.field private mRenderAffinity:I

.field mRenderer:Lcom/nemustech/tiffany/world/TFRenderer;

.field mSelectListener:Lcom/nemustech/tiffany/world/TFWorld$OnSelectListener;

.field private mStartupDrawable:Landroid/graphics/drawable/BitmapDrawable;

.field mTextureFilter:I

.field mTextureIsLoading:Z

.field mTouchDown:Z

.field mTouchedModelColorMask:Z

.field mTouchedModelColorMaskB:F

.field mTouchedModelColorMaskG:F

.field mTouchedModelColorMaskR:F

.field mTranslucentMode:Z

.field mUserTouchListener:Landroid/view/View$OnTouchListener;

.field mViewSizeChangeListener:Lcom/nemustech/tiffany/world/TFWorld$OnViewSizeChangeListener;

.field private mWidth:F


# direct methods
.method static constructor <clinit>()V
    .locals 1

    .prologue
    .line 1324
    const/4 v0, 0x0

    sput v0, Lcom/nemustech/tiffany/world/TFWorld;->mTextureMagicKey:I

    .line 1326
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    sput-object v0, Lcom/nemustech/tiffany/world/TFWorld;->mEventQueue:Ljava/util/ArrayList;

    return-void
.end method

.method public constructor <init>(FFF)V
    .locals 5
    .parameter "width"
    .parameter "height"
    .parameter "depth"

    .prologue
    const/4 v4, 0x1

    const/4 v3, 0x0

    const/4 v2, 0x0

    const/4 v1, 0x0

    .line 38
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 762
    iput-object v2, p0, Lcom/nemustech/tiffany/world/TFWorld;->mBackground:Lcom/nemustech/tiffany/world/TFWorld$TFBackground;

    .line 763
    iput-object v2, p0, Lcom/nemustech/tiffany/world/TFWorld;->mBackgroundOld:Lcom/nemustech/tiffany/world/TFWorld$TFBackground;

    .line 1165
    iput-object v2, p0, Lcom/nemustech/tiffany/world/TFWorld;->mDefaultDelayImageBmp:Landroid/graphics/Bitmap;

    .line 1178
    iput-boolean v1, p0, Lcom/nemustech/tiffany/world/TFWorld;->mTouchedModelColorMask:Z

    .line 1199
    iput-boolean v1, p0, Lcom/nemustech/tiffany/world/TFWorld;->mBanQueryingMatrix:Z

    .line 1209
    iput v4, p0, Lcom/nemustech/tiffany/world/TFWorld;->mRenderAffinity:I

    .line 1327
    const/16 v0, 0x5dc

    iput v0, p0, Lcom/nemustech/tiffany/world/TFWorld;->mLongPressDuration:I

    .line 39
    invoke-direct {p0, p1, p2, p3}, Lcom/nemustech/tiffany/world/TFWorld;->create(FFF)V

    .line 41
    const/high16 v0, 0x3f80

    invoke-virtual {p0, v3, v3, v3, v0}, Lcom/nemustech/tiffany/world/TFWorld;->setBackgroundColor(FFFF)V

    .line 42
    invoke-virtual {p0, v1}, Lcom/nemustech/tiffany/world/TFWorld;->setTranslucentMode(Z)V

    .line 48
    invoke-virtual {p0, v1}, Lcom/nemustech/tiffany/world/TFWorld;->banChiselFringe(Z)V

    .line 49
    invoke-virtual {p0, v4}, Lcom/nemustech/tiffany/world/TFWorld;->setEconomicMode(Z)V

    .line 50
    iput-boolean v1, p0, Lcom/nemustech/tiffany/world/TFWorld;->mReflection:Z

    .line 51
    invoke-virtual {p0, v4}, Lcom/nemustech/tiffany/world/TFWorld;->setDepthTestMode(Z)V

    .line 52
    sput v1, Lcom/nemustech/tiffany/world/TFWorld;->mTextureMagicKey:I

    .line 53
    sput-object v2, Lcom/nemustech/tiffany/world/TFWorld;->mGLSurfaceView:Lcom/nemustech/tiffany/world/TFView;

    .line 54
    return-void
.end method

.method static synthetic access$002(Lcom/nemustech/tiffany/world/TFWorld;Landroid/graphics/drawable/BitmapDrawable;)Landroid/graphics/drawable/BitmapDrawable;
    .locals 0
    .parameter "x0"
    .parameter "x1"

    .prologue
    .line 27
    iput-object p1, p0, Lcom/nemustech/tiffany/world/TFWorld;->mStartupDrawable:Landroid/graphics/drawable/BitmapDrawable;

    return-object p1
.end method

.method static synthetic access$200(Lcom/nemustech/tiffany/world/TFWorld;)J
    .locals 2
    .parameter "x0"

    .prologue
    .line 27
    iget-wide v0, p0, Lcom/nemustech/tiffany/world/TFWorld;->mBackgroundFadeDuration:J

    return-wide v0
.end method

.method private applyEconomicMode()V
    .locals 2

    .prologue
    .line 328
    sget-object v0, Lcom/nemustech/tiffany/world/TFWorld;->mGLSurfaceView:Lcom/nemustech/tiffany/world/TFView;

    if-eqz v0, :cond_0

    .line 330
    iget-boolean v0, p0, Lcom/nemustech/tiffany/world/TFWorld;->mEconomicMode:Z

    if-eqz v0, :cond_1

    .line 331
    sget-object v0, Lcom/nemustech/tiffany/world/TFWorld;->mGLSurfaceView:Lcom/nemustech/tiffany/world/TFView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFView;->setRenderMode(I)V

    .line 337
    :goto_0
    sget-object v0, Lcom/nemustech/tiffany/world/TFWorld;->mGLSurfaceView:Lcom/nemustech/tiffany/world/TFView;

    invoke-virtual {v0}, Lcom/nemustech/tiffany/world/TFView;->requestRender()V

    .line 339
    :cond_0
    return-void

    .line 335
    :cond_1
    sget-object v0, Lcom/nemustech/tiffany/world/TFWorld;->mGLSurfaceView:Lcom/nemustech/tiffany/world/TFView;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFView;->setRenderMode(I)V

    goto :goto_0
.end method

.method private create(FFF)V
    .locals 5
    .parameter "width"
    .parameter "height"
    .parameter "depth"

    .prologue
    const/4 v4, 0x0

    .line 484
    invoke-static {}, Lcom/nemustech/tiffany/world/TFUtils;->loadLibrary()V

    .line 486
    iput p1, p0, Lcom/nemustech/tiffany/world/TFWorld;->mWidth:F

    .line 487
    iput p2, p0, Lcom/nemustech/tiffany/world/TFWorld;->mHeight:F

    .line 488
    iput p3, p0, Lcom/nemustech/tiffany/world/TFWorld;->mDepth:F

    .line 491
    invoke-static {}, Lcom/nemustech/tiffany/world/TFCamera;->getCamera()Lcom/nemustech/tiffany/world/TFCamera;

    move-result-object v1

    iput-object v1, p0, Lcom/nemustech/tiffany/world/TFWorld;->mCamera:Lcom/nemustech/tiffany/world/TFCamera;

    .line 492
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFWorld;->mCamera:Lcom/nemustech/tiffany/world/TFCamera;

    invoke-virtual {v1, p0}, Lcom/nemustech/tiffany/world/TFCamera;->attatch(Lcom/nemustech/tiffany/world/TFWorld;)V

    .line 493
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFWorld;->mCamera:Lcom/nemustech/tiffany/world/TFCamera;

    const v2, 0x3e333333

    const/high16 v3, 0x3f00

    invoke-virtual {v1, v2, v3}, Lcom/nemustech/tiffany/world/TFCamera;->setLens(FF)V

    .line 494
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFWorld;->mCamera:Lcom/nemustech/tiffany/world/TFCamera;

    const/high16 v2, 0x4080

    invoke-virtual {v1, v4, v4, v2}, Lcom/nemustech/tiffany/world/TFCamera;->locate(FFF)V

    .line 496
    new-instance v1, Lcom/nemustech/tiffany/world/TFRenderer;

    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFWorld;->mCamera:Lcom/nemustech/tiffany/world/TFCamera;

    invoke-direct {v1, p0, v2}, Lcom/nemustech/tiffany/world/TFRenderer;-><init>(Lcom/nemustech/tiffany/world/TFWorld;Lcom/nemustech/tiffany/world/TFCamera;)V

    iput-object v1, p0, Lcom/nemustech/tiffany/world/TFWorld;->mRenderer:Lcom/nemustech/tiffany/world/TFRenderer;

    .line 497
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFWorld;->mRenderer:Lcom/nemustech/tiffany/world/TFRenderer;

    invoke-virtual {v1}, Lcom/nemustech/tiffany/world/TFRenderer;->addLayer()Lcom/nemustech/tiffany/world/TFWorld$Layer;

    move-result-object v0

    .line 498
    .local v0, mainLayer:Lcom/nemustech/tiffany/world/TFWorld$Layer;
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFWorld;->mRenderer:Lcom/nemustech/tiffany/world/TFRenderer;

    invoke-virtual {v1, v0}, Lcom/nemustech/tiffany/world/TFRenderer;->setActiveLayer(Lcom/nemustech/tiffany/world/TFWorld$Layer;)Lcom/nemustech/tiffany/world/TFWorld$Layer;

    .line 500
    return-void
.end method

.method private getBackgroundInstance(Lcom/nemustech/tiffany/world/TFWorld;)Lcom/nemustech/tiffany/world/TFWorld$TFBackground;
    .locals 5
    .parameter "world"

    .prologue
    const/4 v4, 0x0

    .line 775
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFWorld;->mBackground:Lcom/nemustech/tiffany/world/TFWorld$TFBackground;

    if-nez v0, :cond_1

    .line 777
    new-instance v0, Lcom/nemustech/tiffany/world/TFWorld$TFBackground;

    invoke-direct {v0, p0, p0}, Lcom/nemustech/tiffany/world/TFWorld$TFBackground;-><init>(Lcom/nemustech/tiffany/world/TFWorld;Lcom/nemustech/tiffany/world/TFWorld;)V

    iput-object v0, p0, Lcom/nemustech/tiffany/world/TFWorld;->mBackground:Lcom/nemustech/tiffany/world/TFWorld$TFBackground;

    .line 792
    :cond_0
    :goto_0
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFWorld;->mBackground:Lcom/nemustech/tiffany/world/TFWorld$TFBackground;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFWorld$TFBackground;->setNeedToBeUpdated(Z)V

    .line 793
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFWorld;->mBackground:Lcom/nemustech/tiffany/world/TFWorld$TFBackground;

    return-object v0

    .line 779
    :cond_1
    iget-wide v0, p0, Lcom/nemustech/tiffany/world/TFWorld;->mBackgroundFadeDuration:J

    const-wide/16 v2, 0x0

    cmp-long v0, v0, v2

    if-lez v0, :cond_0

    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFWorld;->mBackground:Lcom/nemustech/tiffany/world/TFWorld$TFBackground;

    invoke-static {v0}, Lcom/nemustech/tiffany/world/TFWorld$TFBackground;->access$100(Lcom/nemustech/tiffany/world/TFWorld$TFBackground;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 785
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFWorld;->mBackgroundOld:Lcom/nemustech/tiffany/world/TFWorld$TFBackground;

    if-eqz v0, :cond_2

    .line 786
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFWorld;->mBackgroundOld:Lcom/nemustech/tiffany/world/TFWorld$TFBackground;

    invoke-virtual {v0, v4}, Lcom/nemustech/tiffany/world/TFWorld$TFBackground;->deleteImageResource(I)V

    .line 787
    :cond_2
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFWorld;->mBackground:Lcom/nemustech/tiffany/world/TFWorld$TFBackground;

    iput-object v0, p0, Lcom/nemustech/tiffany/world/TFWorld;->mBackgroundOld:Lcom/nemustech/tiffany/world/TFWorld$TFBackground;

    .line 788
    new-instance v0, Lcom/nemustech/tiffany/world/TFWorld$TFBackground;

    invoke-direct {v0, p0, p0}, Lcom/nemustech/tiffany/world/TFWorld$TFBackground;-><init>(Lcom/nemustech/tiffany/world/TFWorld;Lcom/nemustech/tiffany/world/TFWorld;)V

    iput-object v0, p0, Lcom/nemustech/tiffany/world/TFWorld;->mBackground:Lcom/nemustech/tiffany/world/TFWorld$TFBackground;

    .line 789
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFWorld;->mBackgroundOld:Lcom/nemustech/tiffany/world/TFWorld$TFBackground;

    invoke-virtual {v0, v4}, Lcom/nemustech/tiffany/world/TFWorld$TFBackground;->setNeedToBeUpdated(Z)V

    goto :goto_0
.end method

.method public static getVersion()I
    .locals 1

    .prologue
    .line 693
    const v0, 0x40009

    .line 698
    .local v0, version:I
    return v0
.end method

.method public static queueEvent(Ljava/lang/Runnable;)V
    .locals 2
    .parameter "r"

    .prologue
    .line 1023
    sget-object v0, Lcom/nemustech/tiffany/world/TFWorld;->mEventQueue:Ljava/util/ArrayList;

    monitor-enter v0

    .line 1024
    :try_start_0
    sget-object v1, Lcom/nemustech/tiffany/world/TFWorld;->mEventQueue:Ljava/util/ArrayList;

    invoke-virtual {v1, p0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 1025
    invoke-static {}, Lcom/nemustech/tiffany/world/TFWorld;->requestRender()V

    .line 1026
    monitor-exit v0

    .line 1027
    return-void

    .line 1026
    :catchall_0
    move-exception v1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v1
.end method

.method public static requestRender()V
    .locals 1

    .prologue
    .line 1054
    sget-object v0, Lcom/nemustech/tiffany/world/TFWorld;->mGLSurfaceView:Lcom/nemustech/tiffany/world/TFView;

    if-eqz v0, :cond_0

    sget-object v0, Lcom/nemustech/tiffany/world/TFWorld;->mGLSurfaceView:Lcom/nemustech/tiffany/world/TFView;

    invoke-virtual {v0}, Lcom/nemustech/tiffany/world/TFView;->requestRender()V

    .line 1055
    :cond_0
    return-void
.end method


# virtual methods
.method public addLayer()Lcom/nemustech/tiffany/world/TFWorld$Layer;
    .locals 1

    .prologue
    .line 129
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFWorld;->mRenderer:Lcom/nemustech/tiffany/world/TFRenderer;

    invoke-virtual {v0}, Lcom/nemustech/tiffany/world/TFRenderer;->addLayer()Lcom/nemustech/tiffany/world/TFWorld$Layer;

    move-result-object v0

    return-object v0
.end method

.method public addReflectingFloor(FF)V
    .locals 1
    .parameter "y"
    .parameter "opacity"

    .prologue
    .line 119
    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/nemustech/tiffany/world/TFWorld;->mReflection:Z

    .line 120
    iput p1, p0, Lcom/nemustech/tiffany/world/TFWorld;->mReflectingFloor:F

    .line 121
    iput p2, p0, Lcom/nemustech/tiffany/world/TFWorld;->mReflectionOpacity:F

    .line 122
    return-void
.end method

.method public banChiselFringe(Z)V
    .locals 1
    .parameter "mode"

    .prologue
    .line 105
    if-eqz p1, :cond_0

    .line 106
    const/16 v0, 0x2600

    iput v0, p0, Lcom/nemustech/tiffany/world/TFWorld;->mTextureFilter:I

    .line 109
    :goto_0
    return-void

    .line 108
    :cond_0
    const/16 v0, 0x2601

    iput v0, p0, Lcom/nemustech/tiffany/world/TFWorld;->mTextureFilter:I

    goto :goto_0
.end method

.method public banQueryingMatrix(Z)Z
    .locals 1
    .parameter "mode"

    .prologue
    .line 91
    iget-boolean v0, p0, Lcom/nemustech/tiffany/world/TFWorld;->mBanQueryingMatrix:Z

    .line 92
    .local v0, pre:Z
    iput-boolean p1, p0, Lcom/nemustech/tiffany/world/TFWorld;->mBanQueryingMatrix:Z

    .line 93
    return v0
.end method

.method public clearEventQueue()V
    .locals 2

    .prologue
    .line 1033
    sget-object v0, Lcom/nemustech/tiffany/world/TFWorld;->mEventQueue:Ljava/util/ArrayList;

    monitor-enter v0

    .line 1034
    :try_start_0
    sget-object v1, Lcom/nemustech/tiffany/world/TFWorld;->mEventQueue:Ljava/util/ArrayList;

    invoke-virtual {v1}, Ljava/util/ArrayList;->clear()V

    .line 1035
    monitor-exit v0

    .line 1036
    return-void

    .line 1035
    :catchall_0
    move-exception v1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v1
.end method

.method public clearFog()V
    .locals 2

    .prologue
    .line 194
    const/4 v1, 0x0

    iput-object v1, p0, Lcom/nemustech/tiffany/world/TFWorld;->mFognizer:Ljava/lang/Runnable;

    .line 196
    new-instance v0, Lcom/nemustech/tiffany/world/TFWorld$2;

    invoke-direct {v0, p0}, Lcom/nemustech/tiffany/world/TFWorld$2;-><init>(Lcom/nemustech/tiffany/world/TFWorld;)V

    .line 203
    .local v0, defognizer:Ljava/lang/Runnable;
    invoke-static {v0}, Lcom/nemustech/tiffany/world/TFWorld;->queueEvent(Ljava/lang/Runnable;)V

    .line 204
    return-void
.end method

.method public dispatchEvent(Landroid/view/MotionEvent;)Z
    .locals 1
    .parameter "e"

    .prologue
    .line 1114
    sget-object v0, Lcom/nemustech/tiffany/world/TFWorld;->mGLSurfaceView:Lcom/nemustech/tiffany/world/TFView;

    invoke-virtual {v0, p1}, Lcom/nemustech/tiffany/world/TFView;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v0

    return v0
.end method

.method public getActiveLayer()Lcom/nemustech/tiffany/world/TFWorld$Layer;
    .locals 1

    .prologue
    .line 149
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFWorld;->mRenderer:Lcom/nemustech/tiffany/world/TFRenderer;

    invoke-virtual {v0}, Lcom/nemustech/tiffany/world/TFRenderer;->getActiveLayer()Lcom/nemustech/tiffany/world/TFWorld$Layer;

    move-result-object v0

    return-object v0
.end method

.method public getBackground()Lcom/nemustech/tiffany/world/TFWorld$TFBackground;
    .locals 1

    .prologue
    .line 797
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFWorld;->mBackground:Lcom/nemustech/tiffany/world/TFWorld$TFBackground;

    return-object v0
.end method

.method public getCamera()Lcom/nemustech/tiffany/world/TFCamera;
    .locals 1

    .prologue
    .line 729
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFWorld;->mCamera:Lcom/nemustech/tiffany/world/TFCamera;

    return-object v0
.end method

.method public getDepth()F
    .locals 1

    .prologue
    .line 719
    iget v0, p0, Lcom/nemustech/tiffany/world/TFWorld;->mDepth:F

    return v0
.end method

.method getEvent()Ljava/lang/Runnable;
    .locals 3

    .prologue
    .line 1040
    sget-object v0, Lcom/nemustech/tiffany/world/TFWorld;->mEventQueue:Ljava/util/ArrayList;

    monitor-enter v0

    .line 1041
    :try_start_0
    sget-object v1, Lcom/nemustech/tiffany/world/TFWorld;->mEventQueue:Ljava/util/ArrayList;

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v1

    if-lez v1, :cond_0

    .line 1042
    sget-object v1, Lcom/nemustech/tiffany/world/TFWorld;->mEventQueue:Ljava/util/ArrayList;

    const/4 v2, 0x0

    invoke-virtual {v1, v2}, Ljava/util/ArrayList;->remove(I)Ljava/lang/Object;

    move-result-object p0

    .end local p0
    check-cast p0, Ljava/lang/Runnable;

    monitor-exit v0

    move-object v0, p0

    .line 1044
    :goto_0
    return-object v0

    .restart local p0
    :cond_0
    const/4 v1, 0x0

    monitor-exit v0

    move-object v0, v1

    goto :goto_0

    .line 1045
    .end local p0
    :catchall_0
    move-exception v1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v1
.end method

.method public getFrontLayer()Lcom/nemustech/tiffany/world/TFWorld$Layer;
    .locals 3

    .prologue
    .line 145
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFWorld;->mRenderer:Lcom/nemustech/tiffany/world/TFRenderer;

    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFWorld;->mRenderer:Lcom/nemustech/tiffany/world/TFRenderer;

    invoke-virtual {v1}, Lcom/nemustech/tiffany/world/TFRenderer;->getLayerCount()I

    move-result v1

    const/4 v2, 0x1

    sub-int/2addr v1, v2

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFRenderer;->getLayer(I)Lcom/nemustech/tiffany/world/TFWorld$Layer;

    move-result-object v0

    return-object v0
.end method

.method public getHeight()F
    .locals 1

    .prologue
    .line 712
    iget v0, p0, Lcom/nemustech/tiffany/world/TFWorld;->mHeight:F

    return v0
.end method

.method public getHitModel(FF)Lcom/nemustech/tiffany/world/TFModel;
    .locals 1
    .parameter "x"
    .parameter "y"

    .prologue
    .line 215
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFWorld;->mRenderer:Lcom/nemustech/tiffany/world/TFRenderer;

    if-eqz v0, :cond_0

    .line 216
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFWorld;->mRenderer:Lcom/nemustech/tiffany/world/TFRenderer;

    invoke-virtual {v0, p1, p2}, Lcom/nemustech/tiffany/world/TFRenderer;->getSelectedModel(FF)Lcom/nemustech/tiffany/world/TFModel;

    move-result-object v0

    .line 218
    :goto_0
    return-object v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public getLayer(I)Lcom/nemustech/tiffany/world/TFWorld$Layer;
    .locals 1
    .parameter "index"

    .prologue
    .line 137
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFWorld;->mRenderer:Lcom/nemustech/tiffany/world/TFRenderer;

    invoke-virtual {v0, p1}, Lcom/nemustech/tiffany/world/TFRenderer;->getLayer(I)Lcom/nemustech/tiffany/world/TFWorld$Layer;

    move-result-object v0

    return-object v0
.end method

.method public getLayerCount()I
    .locals 1

    .prologue
    .line 133
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFWorld;->mRenderer:Lcom/nemustech/tiffany/world/TFRenderer;

    invoke-virtual {v0}, Lcom/nemustech/tiffany/world/TFRenderer;->getLayerCount()I

    move-result v0

    return v0
.end method

.method public getLongPressDuration()I
    .locals 1

    .prologue
    .line 610
    iget v0, p0, Lcom/nemustech/tiffany/world/TFWorld;->mLongPressDuration:I

    return v0
.end method

.method public getViewHeight()I
    .locals 1

    .prologue
    .line 1067
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFWorld;->mRenderer:Lcom/nemustech/tiffany/world/TFRenderer;

    iget v0, v0, Lcom/nemustech/tiffany/world/TFRenderer;->mHeight:I

    return v0
.end method

.method public getViewWidth()I
    .locals 1

    .prologue
    .line 1061
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFWorld;->mRenderer:Lcom/nemustech/tiffany/world/TFRenderer;

    iget v0, v0, Lcom/nemustech/tiffany/world/TFRenderer;->mWidth:I

    return v0
.end method

.method public getWidth()F
    .locals 1

    .prologue
    .line 705
    iget v0, p0, Lcom/nemustech/tiffany/world/TFWorld;->mWidth:F

    return v0
.end method

.method public isBlendingMode()Z
    .locals 1

    .prologue
    .line 759
    iget-boolean v0, p0, Lcom/nemustech/tiffany/world/TFWorld;->mBlendingMode:Z

    return v0
.end method

.method isCapable(I)Z
    .locals 1
    .parameter "capability"

    .prologue
    .line 324
    iget v0, p0, Lcom/nemustech/tiffany/world/TFWorld;->mCapability:I

    and-int/2addr v0, p1

    if-eqz v0, :cond_0

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public isDepthTestMode()Z
    .locals 1

    .prologue
    .line 737
    iget-boolean v0, p0, Lcom/nemustech/tiffany/world/TFWorld;->mDepthTestMode:Z

    return v0
.end method

.method public isEconomicMode()Z
    .locals 1

    .prologue
    .line 394
    iget-boolean v0, p0, Lcom/nemustech/tiffany/world/TFWorld;->mEconomicMode:Z

    return v0
.end method

.method public isLocked()Z
    .locals 1

    .prologue
    .line 81
    iget-boolean v0, p0, Lcom/nemustech/tiffany/world/TFWorld;->mIsLocked:Z

    return v0
.end method

.method public isPaused()Z
    .locals 1

    .prologue
    .line 506
    iget-boolean v0, p0, Lcom/nemustech/tiffany/world/TFWorld;->mPaused:Z

    return v0
.end method

.method public isTranslucentMode()Z
    .locals 1

    .prologue
    .line 444
    iget-boolean v0, p0, Lcom/nemustech/tiffany/world/TFWorld;->mTranslucentMode:Z

    return v0
.end method

.method public locateCameraAtFullScreen()V
    .locals 9

    .prologue
    .line 1104
    const-string v5, "TFWorld"

    const-string v6, "LocateCameraAtFullScreen"

    invoke-static {v5, v6}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 1105
    invoke-virtual {p0}, Lcom/nemustech/tiffany/world/TFWorld;->getViewWidth()I

    move-result v2

    .line 1106
    .local v2, width:I
    invoke-virtual {p0}, Lcom/nemustech/tiffany/world/TFWorld;->getViewHeight()I

    move-result v0

    .line 1107
    .local v0, height:I
    if-le v2, v0, :cond_0

    move v1, v2

    .line 1108
    .local v1, length:I
    :goto_0
    if-le v2, v0, :cond_1

    invoke-virtual {p0}, Lcom/nemustech/tiffany/world/TFWorld;->getWidth()F

    move-result v5

    move v3, v5

    .line 1109
    .local v3, worldLength:F
    :goto_1
    invoke-static {p0, v2, v0, v1, v3}, Lcom/nemustech/tiffany/world/TFUtils;->calcZ(Lcom/nemustech/tiffany/world/TFWorld;IIIF)F

    move-result v4

    .line 1110
    .local v4, z:F
    invoke-virtual {p0}, Lcom/nemustech/tiffany/world/TFWorld;->getCamera()Lcom/nemustech/tiffany/world/TFCamera;

    move-result-object v5

    const/4 v6, 0x2

    neg-float v7, v4

    const/4 v8, 0x1

    invoke-virtual {v5, v6, v7, v8}, Lcom/nemustech/tiffany/world/TFCamera;->locate(IFZ)V

    .line 1111
    return-void

    .end local v1           #length:I
    .end local v3           #worldLength:F
    .end local v4           #z:F
    :cond_0
    move v1, v0

    .line 1107
    goto :goto_0

    .line 1108
    .restart local v1       #length:I
    :cond_1
    invoke-virtual {p0}, Lcom/nemustech/tiffany/world/TFWorld;->getHeight()F

    move-result v5

    move v3, v5

    goto :goto_1
.end method

.method public lock()V
    .locals 1

    .prologue
    .line 63
    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/nemustech/tiffany/world/TFWorld;->mIsLocked:Z

    .line 64
    return-void
.end method

.method public pause()V
    .locals 2

    .prologue
    .line 515
    sget-object v0, Lcom/nemustech/tiffany/world/TFWorld;->mGLSurfaceView:Lcom/nemustech/tiffany/world/TFView;

    if-eqz v0, :cond_0

    .line 525
    sget-object v0, Lcom/nemustech/tiffany/world/TFWorld;->mGLSurfaceView:Lcom/nemustech/tiffany/world/TFView;

    invoke-virtual {v0}, Lcom/nemustech/tiffany/world/TFView;->onPause()V

    .line 551
    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/nemustech/tiffany/world/TFWorld;->mPaused:Z

    .line 552
    const-string v0, "TFWorld"

    const-string v1, "TiffanyWorld has been paused."

    invoke-static {v0, v1}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 558
    :goto_0
    return-void

    .line 556
    :cond_0
    const-string v0, "TFWorld"

    const-string v1, "Tried to pause TiffanyWorld, but no GL surface view found"

    invoke-static {v0, v1}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I

    goto :goto_0
.end method

.method public printWorldState()V
    .locals 1

    .prologue
    .line 1119
    const/4 v0, 0x0

    invoke-virtual {p0, v0}, Lcom/nemustech/tiffany/world/TFWorld;->printWorldState(Z)V

    .line 1120
    return-void
.end method

.method public printWorldState(Z)V
    .locals 12
    .parameter "absolute"

    .prologue
    .line 1124
    const/4 v6, 0x0

    .line 1125
    .local v6, level:I
    invoke-virtual {p0}, Lcom/nemustech/tiffany/world/TFWorld;->getLayerCount()I

    move-result v5

    .line 1127
    .local v5, layerCount:I
    const-string v9, "HOLDER_STAT"

    const-string v10, "World---------------------------------------------- START\n"

    invoke-static {v9, v10}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    .line 1128
    const/4 v2, 0x0

    .local v2, i:I
    :goto_0
    if-ge v2, v5, :cond_3

    .line 1130
    invoke-virtual {p0, v2}, Lcom/nemustech/tiffany/world/TFWorld;->getLayer(I)Lcom/nemustech/tiffany/world/TFWorld$Layer;

    move-result-object v4

    .line 1131
    .local v4, layer:Ljava/util/LinkedList;,"Ljava/util/LinkedList<Lcom/nemustech/tiffany/world/TFObject;>;"
    const-string v9, "HOLDER_STAT"

    new-instance v10, Ljava/lang/StringBuilder;

    invoke-direct {v10}, Ljava/lang/StringBuilder;-><init>()V

    const-string v11, "On layer : "

    invoke-virtual {v10, v11}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v10

    invoke-virtual {v10, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v10

    const-string v11, " ("

    invoke-virtual {v10, v11}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v10

    invoke-virtual {v10, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v10

    const-string v11, ")"

    invoke-virtual {v10, v11}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v10

    invoke-virtual {v10}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v10

    invoke-static {v9, v10}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    .line 1132
    invoke-virtual {v4}, Ljava/util/LinkedList;->iterator()Ljava/util/Iterator;

    move-result-object v3

    .local v3, i$:Ljava/util/Iterator;
    :cond_0
    :goto_1
    invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z

    move-result v9

    if-eqz v9, :cond_2

    invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v8

    check-cast v8, Lcom/nemustech/tiffany/world/TFObject;

    .line 1134
    .local v8, o:Lcom/nemustech/tiffany/world/TFObject;
    instance-of v9, v8, Lcom/nemustech/tiffany/world/TFHolder;

    if-eqz v9, :cond_1

    .line 1135
    move-object v0, v8

    check-cast v0, Lcom/nemustech/tiffany/world/TFHolder;

    move-object v1, v0

    .line 1136
    .local v1, h:Lcom/nemustech/tiffany/world/TFHolder;
    invoke-virtual {v1, v6, p1}, Lcom/nemustech/tiffany/world/TFHolder;->printHolderState(IZ)V

    .line 1138
    .end local v1           #h:Lcom/nemustech/tiffany/world/TFHolder;
    :cond_1
    instance-of v9, v8, Lcom/nemustech/tiffany/world/TFModel;

    if-eqz v9, :cond_0

    .line 1139
    move-object v0, v8

    check-cast v0, Lcom/nemustech/tiffany/world/TFModel;

    move-object v7, v0

    .line 1140
    .local v7, m:Lcom/nemustech/tiffany/world/TFModel;
    invoke-virtual {v7}, Lcom/nemustech/tiffany/world/TFModel;->printModelState()V

    goto :goto_1

    .line 1128
    .end local v7           #m:Lcom/nemustech/tiffany/world/TFModel;
    .end local v8           #o:Lcom/nemustech/tiffany/world/TFObject;
    :cond_2
    add-int/lit8 v2, v2, 0x1

    goto :goto_0

    .line 1145
    .end local v3           #i$:Ljava/util/Iterator;
    .end local v4           #layer:Ljava/util/LinkedList;,"Ljava/util/LinkedList<Lcom/nemustech/tiffany/world/TFObject;>;"
    :cond_3
    const-string v9, "HOLDER_STAT"

    const-string v10, "-------------------------- END --------------------------\n"

    invoke-static {v9, v10}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    .line 1146
    return-void
.end method

.method public removeReflectingFloor()V
    .locals 1

    .prologue
    .line 316
    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/nemustech/tiffany/world/TFWorld;->mReflection:Z

    .line 317
    return-void
.end method

.method public resume()V
    .locals 2

    .prologue
    .line 565
    iget-boolean v0, p0, Lcom/nemustech/tiffany/world/TFWorld;->mPaused:Z

    if-eqz v0, :cond_1

    .line 567
    sget-object v0, Lcom/nemustech/tiffany/world/TFWorld;->mGLSurfaceView:Lcom/nemustech/tiffany/world/TFView;

    if-eqz v0, :cond_0

    .line 573
    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/nemustech/tiffany/world/TFWorld;->mPaused:Z

    .line 574
    sget-object v0, Lcom/nemustech/tiffany/world/TFWorld;->mGLSurfaceView:Lcom/nemustech/tiffany/world/TFView;

    invoke-virtual {v0}, Lcom/nemustech/tiffany/world/TFView;->onResume()V

    .line 575
    invoke-static {}, Lcom/nemustech/tiffany/world/TFWorld;->requestRender()V

    .line 576
    const-string v0, "TFWorld"

    const-string v1, "TiffanyWorld has been resumed"

    invoke-static {v0, v1}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 587
    :goto_0
    return-void

    .line 580
    :cond_0
    const-string v0, "TFWorld"

    const-string v1, "Tried to resume TiffanyWorld, but no GL surface view found"

    invoke-static {v0, v1}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I

    goto :goto_0

    .line 585
    :cond_1
    const-string v0, "TFWorld"

    const-string v1, "Tried to resume TiffanyWorld which is already active."

    invoke-static {v0, v1}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I

    goto :goto_0
.end method

.method public setActiveLayer(Lcom/nemustech/tiffany/world/TFWorld$Layer;)Lcom/nemustech/tiffany/world/TFWorld$Layer;
    .locals 1
    .parameter "layer"

    .prologue
    .line 141
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFWorld;->mRenderer:Lcom/nemustech/tiffany/world/TFRenderer;

    invoke-virtual {v0, p1}, Lcom/nemustech/tiffany/world/TFRenderer;->setActiveLayer(Lcom/nemustech/tiffany/world/TFWorld$Layer;)Lcom/nemustech/tiffany/world/TFWorld$Layer;

    move-result-object v0

    return-object v0
.end method

.method public setBackgroundBitmap(Landroid/graphics/Bitmap;)Z
    .locals 2
    .parameter "bitmap"

    .prologue
    .line 801
    invoke-direct {p0, p0}, Lcom/nemustech/tiffany/world/TFWorld;->getBackgroundInstance(Lcom/nemustech/tiffany/world/TFWorld;)Lcom/nemustech/tiffany/world/TFWorld$TFBackground;

    move-result-object v0

    .line 802
    .local v0, background:Lcom/nemustech/tiffany/world/TFWorld$TFBackground;
    const/4 v1, 0x0

    invoke-virtual {v0, v1, p1}, Lcom/nemustech/tiffany/world/TFWorld$TFBackground;->setImageResource(ILandroid/graphics/Bitmap;)Z

    move-result v1

    return v1
.end method

.method public setBackgroundColor(FFFF)V
    .locals 0
    .parameter "red"
    .parameter "green"
    .parameter "blue"
    .parameter "alpha"

    .prologue
    .line 476
    iput p1, p0, Lcom/nemustech/tiffany/world/TFWorld;->mColorBackgroundR:F

    .line 477
    iput p2, p0, Lcom/nemustech/tiffany/world/TFWorld;->mColorBackgroundG:F

    .line 478
    iput p3, p0, Lcom/nemustech/tiffany/world/TFWorld;->mColorBackgroundB:F

    .line 479
    iput p4, p0, Lcom/nemustech/tiffany/world/TFWorld;->mColorBackgroundA:F

    .line 480
    return-void
.end method

.method public setBackgroundFadeEffect(J)V
    .locals 0
    .parameter "duration"

    .prologue
    .line 771
    iput-wide p1, p0, Lcom/nemustech/tiffany/world/TFWorld;->mBackgroundFadeDuration:J

    .line 772
    return-void
.end method

.method public setBackgroundImageResource(Landroid/content/res/Resources;I)Lcom/nemustech/tiffany/world/TFError;
    .locals 2
    .parameter "resources"
    .parameter "resource_id"

    .prologue
    .line 806
    invoke-direct {p0, p0}, Lcom/nemustech/tiffany/world/TFWorld;->getBackgroundInstance(Lcom/nemustech/tiffany/world/TFWorld;)Lcom/nemustech/tiffany/world/TFWorld$TFBackground;

    move-result-object v0

    .line 807
    .local v0, background:Lcom/nemustech/tiffany/world/TFWorld$TFBackground;
    const/4 v1, 0x0

    invoke-virtual {v0, v1, p1, p2}, Lcom/nemustech/tiffany/world/TFWorld$TFBackground;->setImageResource(ILandroid/content/res/Resources;I)Lcom/nemustech/tiffany/world/TFError;

    move-result-object v1

    return-object v1
.end method

.method public setBackgroundImageResource(Ljava/lang/String;)Lcom/nemustech/tiffany/world/TFError;
    .locals 2
    .parameter "fileName"

    .prologue
    .line 811
    invoke-direct {p0, p0}, Lcom/nemustech/tiffany/world/TFWorld;->getBackgroundInstance(Lcom/nemustech/tiffany/world/TFWorld;)Lcom/nemustech/tiffany/world/TFWorld$TFBackground;

    move-result-object v0

    .line 812
    .local v0, background:Lcom/nemustech/tiffany/world/TFWorld$TFBackground;
    const/4 v1, 0x0

    invoke-virtual {v0, v1, p1}, Lcom/nemustech/tiffany/world/TFWorld$TFBackground;->setImageResource(ILjava/lang/String;)Lcom/nemustech/tiffany/world/TFError;

    move-result-object v1

    return-object v1
.end method

.method public setBlendingMode(Z)V
    .locals 1
    .parameter "mode"

    .prologue
    .line 747
    const/4 v0, 0x1

    invoke-virtual {p0, p1, v0}, Lcom/nemustech/tiffany/world/TFWorld;->setBlendingMode(ZZ)V

    .line 748
    return-void
.end method

.method public setBlendingMode(ZZ)V
    .locals 1
    .parameter "mode"
    .parameter "sortZ"

    .prologue
    .line 751
    iput-boolean p1, p0, Lcom/nemustech/tiffany/world/TFWorld;->mBlendingMode:Z

    .line 752
    iget-boolean v0, p0, Lcom/nemustech/tiffany/world/TFWorld;->mBlendingMode:Z

    if-eqz v0, :cond_0

    move v0, p2

    :goto_0
    iput-boolean v0, p0, Lcom/nemustech/tiffany/world/TFWorld;->mBlendingSort:Z

    .line 753
    return-void

    .line 752
    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method setCapability(I)V
    .locals 1
    .parameter "capability"

    .prologue
    .line 320
    iget v0, p0, Lcom/nemustech/tiffany/world/TFWorld;->mCapability:I

    or-int/2addr v0, p1

    iput v0, p0, Lcom/nemustech/tiffany/world/TFWorld;->mCapability:I

    .line 321
    return-void
.end method

.method public setDefaultDelayImage(Landroid/content/Context;I)V
    .locals 2
    .parameter "context"
    .parameter "resId"

    .prologue
    .line 977
    invoke-virtual {p1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    invoke-static {v0, p2}, Lcom/nemustech/tiffany/world/TFUtils;->decodeResource(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v0

    iput-object v0, p0, Lcom/nemustech/tiffany/world/TFWorld;->mDefaultDelayImageBmp:Landroid/graphics/Bitmap;

    .line 978
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFWorld;->mDefaultDelayImageBmp:Landroid/graphics/Bitmap;

    const/4 v1, 0x0

    invoke-static {v0, v1}, Lcom/nemustech/tiffany/world/TFTextures;->createTextureInfo(Landroid/graphics/Bitmap;Landroid/graphics/Rect;)Lcom/nemustech/tiffany/world/TFTextureInfo;

    move-result-object v0

    iput-object v0, p0, Lcom/nemustech/tiffany/world/TFWorld;->mDefaultDelayImageTextureInfo:Lcom/nemustech/tiffany/world/TFTextureInfo;

    .line 979
    return-void
.end method

.method public setDefaultDelayImageDisplayMode(Z)V
    .locals 0
    .parameter "mode"

    .prologue
    .line 985
    iput-boolean p1, p0, Lcom/nemustech/tiffany/world/TFWorld;->mDefaultDelayImageDisplayMode:Z

    .line 986
    return-void
.end method

.method public setDepthTestMode(Z)V
    .locals 0
    .parameter "mode"

    .prologue
    .line 733
    iput-boolean p1, p0, Lcom/nemustech/tiffany/world/TFWorld;->mDepthTestMode:Z

    .line 734
    return-void
.end method

.method public setEconomicMode(Z)V
    .locals 0
    .parameter "economicMode"

    .prologue
    .line 413
    iput-boolean p1, p0, Lcom/nemustech/tiffany/world/TFWorld;->mEconomicMode:Z

    .line 414
    invoke-direct {p0}, Lcom/nemustech/tiffany/world/TFWorld;->applyEconomicMode()V

    .line 415
    return-void
.end method

.method public setEffectFinishListener(Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;)V
    .locals 0
    .parameter "effectFinishListener"

    .prologue
    .line 681
    iput-object p1, p0, Lcom/nemustech/tiffany/world/TFWorld;->mEffectFinishListener:Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;

    .line 682
    return-void
.end method

.method public setFrontLayer(Lcom/nemustech/tiffany/world/TFWorld$Layer;)Z
    .locals 1
    .parameter "layer"

    .prologue
    .line 157
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFWorld;->mRenderer:Lcom/nemustech/tiffany/world/TFRenderer;

    invoke-virtual {v0, p1}, Lcom/nemustech/tiffany/world/TFRenderer;->setFrontLayer(Lcom/nemustech/tiffany/world/TFWorld$Layer;)Z

    move-result v0

    return v0
.end method

.method public setLongPressDuration(I)V
    .locals 0
    .parameter "milliseconds"

    .prologue
    .line 603
    iput p1, p0, Lcom/nemustech/tiffany/world/TFWorld;->mLongPressDuration:I

    .line 604
    return-void
.end method

.method public setObjectIndex(Lcom/nemustech/tiffany/world/TFObject;I)V
    .locals 4
    .parameter "object"
    .parameter "newIndex"

    .prologue
    .line 278
    instance-of v3, p1, Lcom/nemustech/tiffany/world/TFModel;

    if-eqz v3, :cond_0

    .line 280
    move-object v0, p1

    check-cast v0, Lcom/nemustech/tiffany/world/TFModel;

    move-object v2, v0

    .line 281
    .local v2, model:Lcom/nemustech/tiffany/world/TFModel;
    invoke-virtual {v2}, Lcom/nemustech/tiffany/world/TFModel;->getParentHolder()Lcom/nemustech/tiffany/world/TFHolder;

    move-result-object v3

    if-eqz v3, :cond_0

    .line 287
    .end local v2           #model:Lcom/nemustech/tiffany/world/TFModel;
    :goto_0
    return-void

    .line 284
    :cond_0
    invoke-virtual {p1}, Lcom/nemustech/tiffany/world/TFObject;->getLayer()Lcom/nemustech/tiffany/world/TFWorld$Layer;

    move-result-object v1

    .line 285
    .local v1, layer:Ljava/util/LinkedList;,"Ljava/util/LinkedList<Lcom/nemustech/tiffany/world/TFObject;>;"
    invoke-virtual {v1, p1}, Ljava/util/LinkedList;->remove(Ljava/lang/Object;)Z

    .line 286
    invoke-virtual {v1, p2, p1}, Ljava/util/LinkedList;->add(ILjava/lang/Object;)V

    goto :goto_0
.end method

.method public setObjectIndexToFirst(Lcom/nemustech/tiffany/world/TFObject;)V
    .locals 1
    .parameter "object"

    .prologue
    .line 308
    const/4 v0, 0x0

    invoke-virtual {p0, p1, v0}, Lcom/nemustech/tiffany/world/TFWorld;->setObjectIndex(Lcom/nemustech/tiffany/world/TFObject;I)V

    .line 309
    return-void
.end method

.method public setObjectIndexToLast(Lcom/nemustech/tiffany/world/TFObject;)V
    .locals 3
    .parameter "object"

    .prologue
    .line 295
    invoke-virtual {p1}, Lcom/nemustech/tiffany/world/TFObject;->getLayer()Lcom/nemustech/tiffany/world/TFWorld$Layer;

    move-result-object v0

    .line 296
    .local v0, layer:Ljava/util/LinkedList;,"Ljava/util/LinkedList<Lcom/nemustech/tiffany/world/TFObject;>;"
    invoke-virtual {v0}, Ljava/util/LinkedList;->size()I

    move-result v1

    .line 297
    .local v1, layerSize:I
    if-eqz v1, :cond_0

    .line 298
    const/4 v2, 0x1

    sub-int v2, v1, v2

    invoke-virtual {p0, p1, v2}, Lcom/nemustech/tiffany/world/TFWorld;->setObjectIndex(Lcom/nemustech/tiffany/world/TFObject;I)V

    .line 300
    :cond_0
    return-void
.end method

.method public setOnTouchListener(Landroid/view/View$OnTouchListener;)V
    .locals 0
    .parameter "onTouchListener"

    .prologue
    .line 671
    iput-object p1, p0, Lcom/nemustech/tiffany/world/TFWorld;->mUserTouchListener:Landroid/view/View$OnTouchListener;

    .line 672
    return-void
.end method

.method public setPostDrawListener(Ljava/lang/Runnable;)V
    .locals 2
    .parameter "postDrawListener"

    .prologue
    .line 637
    const-class v0, Lcom/nemustech/tiffany/world/TFWorld;

    monitor-enter v0

    .line 638
    :try_start_0
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFWorld;->mRenderer:Lcom/nemustech/tiffany/world/TFRenderer;

    if-eqz v1, :cond_0

    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFWorld;->mRenderer:Lcom/nemustech/tiffany/world/TFRenderer;

    invoke-virtual {v1}, Lcom/nemustech/tiffany/world/TFRenderer;->initDrawCount()V

    .line 639
    :cond_0
    iput-object p1, p0, Lcom/nemustech/tiffany/world/TFWorld;->mPostDrawListener:Ljava/lang/Runnable;

    .line 640
    monitor-exit v0

    .line 641
    return-void

    .line 640
    :catchall_0
    move-exception v1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v1
.end method

.method public setRenderAffinity(I)V
    .locals 3
    .parameter "affinity"

    .prologue
    .line 403
    const-string v0, "TFWorld"

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "Render affinity has been changed to "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    .line 404
    iput p1, p0, Lcom/nemustech/tiffany/world/TFWorld;->mRenderAffinity:I

    .line 406
    return-void
.end method

.method public setSelectListener(Lcom/nemustech/tiffany/world/TFWorld$OnSelectListener;)V
    .locals 0
    .parameter "selectListener"

    .prologue
    .line 660
    iput-object p1, p0, Lcom/nemustech/tiffany/world/TFWorld;->mSelectListener:Lcom/nemustech/tiffany/world/TFWorld$OnSelectListener;

    .line 661
    return-void
.end method

.method public setStartupImage(Landroid/graphics/Bitmap;)V
    .locals 2
    .parameter "startupImage"

    .prologue
    .line 621
    const-string v0, "TFWorld"

    const-string v1, "SetStartupImage!!"

    invoke-static {v0, v1}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 622
    new-instance v0, Landroid/graphics/drawable/BitmapDrawable;

    invoke-direct {v0, p1}, Landroid/graphics/drawable/BitmapDrawable;-><init>(Landroid/graphics/Bitmap;)V

    iput-object v0, p0, Lcom/nemustech/tiffany/world/TFWorld;->mStartupDrawable:Landroid/graphics/drawable/BitmapDrawable;

    .line 623
    new-instance v0, Landroid/os/Handler;

    invoke-direct {v0}, Landroid/os/Handler;-><init>()V

    iput-object v0, p0, Lcom/nemustech/tiffany/world/TFWorld;->mHandler:Landroid/os/Handler;

    .line 625
    new-instance v0, Lcom/nemustech/tiffany/world/TFWorld$4;

    invoke-direct {v0, p0}, Lcom/nemustech/tiffany/world/TFWorld$4;-><init>(Lcom/nemustech/tiffany/world/TFWorld;)V

    invoke-virtual {p0, v0}, Lcom/nemustech/tiffany/world/TFWorld;->setPostDrawListener(Ljava/lang/Runnable;)V

    .line 632
    return-void
.end method

.method public setTouchedModelColorMasking(FFF)V
    .locals 1
    .parameter "red"
    .parameter "green"
    .parameter "blue"

    .prologue
    .line 455
    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/nemustech/tiffany/world/TFWorld;->mTouchedModelColorMask:Z

    .line 456
    iput p1, p0, Lcom/nemustech/tiffany/world/TFWorld;->mTouchedModelColorMaskR:F

    .line 457
    iput p2, p0, Lcom/nemustech/tiffany/world/TFWorld;->mTouchedModelColorMaskG:F

    .line 458
    iput p3, p0, Lcom/nemustech/tiffany/world/TFWorld;->mTouchedModelColorMaskB:F

    .line 459
    return-void
.end method

.method public setTranslucentMode(Z)V
    .locals 0
    .parameter "mode"

    .prologue
    .line 436
    iput-boolean p1, p0, Lcom/nemustech/tiffany/world/TFWorld;->mTranslucentMode:Z

    .line 438
    return-void
.end method

.method public setViewSizeChangeListener(Lcom/nemustech/tiffany/world/TFWorld$OnViewSizeChangeListener;)V
    .locals 0
    .parameter "viewSizeChangeListener"

    .prologue
    .line 656
    iput-object p1, p0, Lcom/nemustech/tiffany/world/TFWorld;->mViewSizeChangeListener:Lcom/nemustech/tiffany/world/TFWorld$OnViewSizeChangeListener;

    .line 657
    return-void
.end method

.method public show(Landroid/view/View;)Lcom/nemustech/tiffany/world/TFError;
    .locals 8
    .parameter "TiffanyView"

    .prologue
    const/16 v1, 0x8

    .line 352
    check-cast p1, Lcom/nemustech/tiffany/world/TFView;

    .end local p1
    sput-object p1, Lcom/nemustech/tiffany/world/TFWorld;->mGLSurfaceView:Lcom/nemustech/tiffany/world/TFView;

    .line 356
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFWorld;->mStartupDrawable:Landroid/graphics/drawable/BitmapDrawable;

    if-eqz v0, :cond_0

    .line 357
    sget-object v0, Lcom/nemustech/tiffany/world/TFWorld;->mGLSurfaceView:Lcom/nemustech/tiffany/world/TFView;

    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFWorld;->mStartupDrawable:Landroid/graphics/drawable/BitmapDrawable;

    invoke-virtual {v0, v2}, Lcom/nemustech/tiffany/world/TFView;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 359
    :cond_0
    sget-object v0, Lcom/nemustech/tiffany/world/TFWorld;->mGLSurfaceView:Lcom/nemustech/tiffany/world/TFView;

    new-instance v2, Lcom/nemustech/tiffany/world/TFWorld$3;

    invoke-direct {v2, p0}, Lcom/nemustech/tiffany/world/TFWorld$3;-><init>(Lcom/nemustech/tiffany/world/TFWorld;)V

    invoke-virtual {v0, v2}, Lcom/nemustech/tiffany/world/TFView;->setGLWrapper(Lcom/nemustech/tiffany/world/TFView$GLWrapper;)V

    .line 365
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFWorld;->mRenderer:Lcom/nemustech/tiffany/world/TFRenderer;

    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFWorld;->mSelectListener:Lcom/nemustech/tiffany/world/TFWorld$OnSelectListener;

    iput-object v2, v0, Lcom/nemustech/tiffany/world/TFRenderer;->mSelectListener:Lcom/nemustech/tiffany/world/TFWorld$OnSelectListener;

    .line 367
    iget-boolean v0, p0, Lcom/nemustech/tiffany/world/TFWorld;->mTranslucentMode:Z

    if-eqz v0, :cond_1

    .line 369
    const-string v0, "TFWorld"

    const-string v2, "Translucent mode is activated"

    invoke-static {v0, v2}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 370
    sget-object v0, Lcom/nemustech/tiffany/world/TFWorld;->mGLSurfaceView:Lcom/nemustech/tiffany/world/TFView;

    const/16 v5, 0x10

    const/4 v6, 0x0

    move v2, v1

    move v3, v1

    move v4, v1

    invoke-virtual/range {v0 .. v6}, Lcom/nemustech/tiffany/world/TFView;->setEGLConfigChooser(IIIIII)V

    .line 371
    sget-object v0, Lcom/nemustech/tiffany/world/TFWorld;->mGLSurfaceView:Lcom/nemustech/tiffany/world/TFView;

    invoke-virtual {v0}, Lcom/nemustech/tiffany/world/TFView;->getHolder()Landroid/view/SurfaceHolder;

    move-result-object v0

    const/4 v1, -0x3

    invoke-interface {v0, v1}, Landroid/view/SurfaceHolder;->setFormat(I)V

    .line 377
    :goto_0
    sget-object v0, Lcom/nemustech/tiffany/world/TFWorld;->mGLSurfaceView:Lcom/nemustech/tiffany/world/TFView;

    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFWorld;->mRenderer:Lcom/nemustech/tiffany/world/TFRenderer;

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFView;->setRenderer(Lcom/nemustech/tiffany/world/TFView$Renderer;)V

    .line 378
    invoke-direct {p0}, Lcom/nemustech/tiffany/world/TFWorld;->applyEconomicMode()V

    .line 380
    new-instance v0, Lcom/nemustech/tiffany/world/TFEventHandler;

    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFWorld;->mRenderer:Lcom/nemustech/tiffany/world/TFRenderer;

    invoke-direct {v0, p0, v1}, Lcom/nemustech/tiffany/world/TFEventHandler;-><init>(Lcom/nemustech/tiffany/world/TFWorld;Lcom/nemustech/tiffany/world/TFRenderer;)V

    iput-object v0, p0, Lcom/nemustech/tiffany/world/TFWorld;->mEventHandler:Lcom/nemustech/tiffany/world/TFEventHandler;

    .line 381
    sget-object v0, Lcom/nemustech/tiffany/world/TFWorld;->mGLSurfaceView:Lcom/nemustech/tiffany/world/TFView;

    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFWorld;->mEventHandler:Lcom/nemustech/tiffany/world/TFEventHandler;

    iget-object v1, v1, Lcom/nemustech/tiffany/world/TFEventHandler;->mTouchListener:Landroid/view/View$OnTouchListener;

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFView;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    .line 383
    invoke-static {}, Lcom/nemustech/tiffany/world/TFWorld;->getVersion()I

    move-result v7

    .line 384
    .local v7, version:I
    const-string v0, "TFWorld"

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "Tiffany world("

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, ") version : "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const/high16 v2, 0xff

    and-int/2addr v2, v7

    shr-int/lit8 v2, v2, 0x10

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, "."

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const v2, 0xff00

    and-int/2addr v2, v7

    shr-int/lit8 v2, v2, 0x8

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, "."

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    and-int/lit16 v2, v7, 0xff

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 389
    const-string v0, "TFWorld"

    const-string v1, "Lincensed to Nemustech"

    invoke-static {v0, v1}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 390
    sget-object v0, Lcom/nemustech/tiffany/world/TFError;->ERROR_NONE:Lcom/nemustech/tiffany/world/TFError;

    return-object v0

    .line 375
    .end local v7           #version:I
    :cond_1
    const-string v0, "TFWorld"

    const-string v1, "Running in non-translucent mode"

    invoke-static {v0, v1}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    goto :goto_0
.end method

.method public spreadFog(FF)V
    .locals 3
    .parameter "start"
    .parameter "end"

    .prologue
    .line 170
    neg-float v1, p1

    .line 171
    .local v1, fogStart:F
    neg-float v0, p2

    .line 173
    .local v0, fogEnd:F
    new-instance v2, Lcom/nemustech/tiffany/world/TFWorld$1;

    invoke-direct {v2, p0, v1, v0}, Lcom/nemustech/tiffany/world/TFWorld$1;-><init>(Lcom/nemustech/tiffany/world/TFWorld;FF)V

    iput-object v2, p0, Lcom/nemustech/tiffany/world/TFWorld;->mFognizer:Ljava/lang/Runnable;

    .line 186
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFWorld;->mFognizer:Ljava/lang/Runnable;

    invoke-static {v2}, Lcom/nemustech/tiffany/world/TFWorld;->queueEvent(Ljava/lang/Runnable;)V

    .line 187
    return-void
.end method

.method public stop()V
    .locals 0

    .prologue
    .line 596
    return-void
.end method

.method public toWorldCoord([I[F)V
    .locals 1
    .parameter "uiCoord"
    .parameter "worldCoord"

    .prologue
    const/4 v0, 0x0

    .line 1097
    invoke-virtual {p0, p1, p2, v0, v0}, Lcom/nemustech/tiffany/world/TFWorld;->toWorldCoord([I[FII)V

    .line 1098
    return-void
.end method

.method public toWorldCoord([I[FII)V
    .locals 11
    .parameter "uiCoord"
    .parameter "worldCoord"
    .parameter "offsetX"
    .parameter "offsetY"

    .prologue
    .line 1078
    invoke-virtual {p0}, Lcom/nemustech/tiffany/world/TFWorld;->getViewWidth()I

    move-result v6

    .line 1079
    .local v6, width:I
    invoke-virtual {p0}, Lcom/nemustech/tiffany/world/TFWorld;->getViewHeight()I

    move-result v0

    .line 1080
    .local v0, height:I
    if-le v6, v0, :cond_0

    move v1, v6

    .line 1081
    .local v1, length:I
    :goto_0
    if-le v6, v0, :cond_1

    invoke-virtual {p0}, Lcom/nemustech/tiffany/world/TFWorld;->getWidth()F

    move-result v8

    move v7, v8

    .line 1082
    .local v7, worldLength:F
    :goto_1
    const/4 v8, 0x0

    aget v8, p1, v8

    sub-int v4, v8, p3

    .line 1083
    .local v4, vx:I
    const/4 v8, 0x1

    aget v8, p1, v8

    sub-int v5, v8, p4

    .line 1084
    .local v5, vy:I
    const/4 v8, 0x2

    aget v3, p1, v8

    .line 1085
    .local v3, vw:I
    const/4 v8, 0x3

    aget v2, p1, v8

    .line 1087
    .local v2, vh:I
    const/4 v8, 0x0

    neg-int v9, v6

    div-int/lit8 v9, v9, 0x2

    add-int/2addr v9, v4

    div-int/lit8 v10, v3, 0x2

    add-int/2addr v9, v10

    int-to-float v9, v9

    mul-float/2addr v9, v7

    int-to-float v10, v1

    div-float/2addr v9, v10

    aput v9, p2, v8

    .line 1088
    const/4 v8, 0x1

    div-int/lit8 v9, v0, 0x2

    sub-int/2addr v9, v5

    div-int/lit8 v10, v2, 0x2

    sub-int/2addr v9, v10

    int-to-float v9, v9

    mul-float/2addr v9, v7

    int-to-float v10, v1

    div-float/2addr v9, v10

    aput v9, p2, v8

    .line 1089
    const/4 v8, 0x2

    int-to-float v9, v3

    mul-float/2addr v9, v7

    int-to-float v10, v1

    div-float/2addr v9, v10

    aput v9, p2, v8

    .line 1090
    const/4 v8, 0x3

    int-to-float v9, v2

    mul-float/2addr v9, v7

    int-to-float v10, v1

    div-float/2addr v9, v10

    aput v9, p2, v8

    .line 1091
    return-void

    .end local v1           #length:I
    .end local v2           #vh:I
    .end local v3           #vw:I
    .end local v4           #vx:I
    .end local v5           #vy:I
    .end local v7           #worldLength:F
    :cond_0
    move v1, v0

    .line 1080
    goto :goto_0

    .line 1081
    .restart local v1       #length:I
    :cond_1
    invoke-virtual {p0}, Lcom/nemustech/tiffany/world/TFWorld;->getHeight()F

    move-result v8

    move v7, v8

    goto :goto_1
.end method

.method public unlock()V
    .locals 1

    .prologue
    .line 71
    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/nemustech/tiffany/world/TFWorld;->mIsLocked:Z

    .line 72
    return-void
.end method

.method public unsetTouchedModelColorMasking()V
    .locals 1

    .prologue
    .line 462
    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/nemustech/tiffany/world/TFWorld;->mTouchedModelColorMask:Z

    .line 463
    return-void
.end method
